﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div> 
        <form method="post">
            <p>姓名：<input type="text" name="Name" /></p>
            <p>年龄：<input type="text" name="Age" /></p>
            <p>评价：<input type="text" name="evaluate" /></p>
            <button type="submit">提交</button>
        </form>
        <h1>泥嚎@ViewBag.Name</h1>
        @if (ViewBag.Name!=null)
        {
    <p>你提交的评价为 @ViewBag.Evaluate;</p>
        }
    </div>
</body>
</html>
